/*
 * @Descripttion: 
 * @version: 
 * @Author: xyh
 * @Date: 2021-03-30 09:42:28
 * @LastEditTime: 2021-06-15 11:27:44
 */
import  http from './request';
// console.log(http);
// import { stringify } from 'qs';     // 一个查询字符串解析和字符串化库，增加了一些安全性。
export const getData = (params) => {
    return http({
        method: "get",
        url: `/index/data`,
        data: params
    })
}

export const getHomeBanner = (params) => {
    return http({
        method: "get",
        url: `/kioegg/banners`,
        data: params
    })
}

export const getTianGouNote = (params ) => {
    return http({
        method: "get",
        url: `/txapi/tiangou/index?key=f8bc9eaa53ca0eb19948c19254e9c31e`,
        data: params
    })
}

export const getTianGouNote1 = (params ) => {
    return http({
        method: "get",
        url: `/dog/api.php`,
        data: params
    })
}